/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */

package newsparser.job;

import java.text.SimpleDateFormat;
import java.util.Date;

/**
 *
 * @author boyarskiy_km
 */
public class Job{
    private String id;
    private String name;
    private String jar_name;
    private String site;
    private Date last_working;
    private int timer;
    private boolean iswork;
    private final SimpleDateFormat dateFormat = new SimpleDateFormat("dd.MM.yyyy HH:mm:ss");
    
    public Job(String id, String name, String jar_name, String site, Date last_working, int timer, boolean iswork) {
        this.id = id;
        this.name = name;
        this.site = site;
        this.jar_name = jar_name;
        this.last_working = last_working;
        this.timer = timer;
        this.iswork = iswork;
    }
    public String getId() {
        return id;
    }
    public void setId(String id) {
        this.id = id;
    }
    public String getName() {
        return name;
    }
    public void setName(String name) {
        this.name = name;
    }
    public String getSite() {
        return site;
    }
    public void setSite(String site) {
        this.site = site;
    }
    public String getJar_name() {
        return jar_name;
    }
    public void setJar_name(String jar_name) {
        this.jar_name = jar_name;
    }
    public Date getLast_working() {
        return last_working;
    }
    public void setLast_working(Date last_working) {
        this.last_working = last_working;
    }
    public int getTimer() {
        return timer;
    }
    public void setTimer(int timer) {
        this.timer = timer;
    }
    public boolean isIswork() {
        return iswork;
    }
    public void setIswork(boolean iswork) {
        this.iswork = iswork;
    }

    
    
}
